package cn.e2win.base.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;

@MappedSuperclass
public abstract class BaseEntity implements Serializable {

	/**
	 * 
	 */
	abstract public void setId(Integer Id);
	abstract public Integer getId();
	
	private static final long serialVersionUID = 1L;

	@Transient
	private Integer id;//id
	
	
	@Column(name = "coId")
	private Integer coId;
	
	@Column(name = "updateById")
	private Integer updateById;
	
	@Column(name = "createById")
	private Integer createById;

	@Column(name = "createDate")
	private Timestamp createDate;

	@Column(name = "updateDate")
	private Timestamp updateDate;
	
	@Column(name = "remark",length=1024)
	private String remark;
	
	@Column(name = "activeStatusInt")
	private Integer activeStatusInt = 1;

	public String getNo(){
		return "";
	}
	public SysLogs getSysLogs(){
		return null;
	}
	public Integer getCoId() {
		return coId;
	}

	public void setCoId(Integer coId) {
		this.coId = coId;
	}

	public Integer getUpdateById() {
		return updateById;
	}

	public void setUpdateById(Integer updateById) {
		this.updateById = updateById;
	}

	public Integer getCreateById() {
		return createById;
	}

	public void setCreateById(Integer createById) {
		this.createById = createById;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getActiveStatusInt() {
		return activeStatusInt;
	}

	public void setActiveStatusInt(Integer activeStatusInt) {
		this.activeStatusInt = activeStatusInt;
	}

}
